package com.zenchn.service.impl;

import com.zenchn.dao.TMiCustomerCompletionMapper;
import com.zenchn.generic.GenericDao;
import com.zenchn.generic.GenericServiceImpl;
import com.zenchn.model.TMiCustomerCompletion;
import com.zenchn.model.TMiCustomerCompletionExample;
import com.zenchn.service.CustomerCompletionService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author wlf
 * @version 1.0
 * @date 2021/6/7 13:13:27
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class CustomerCompletionServiceImpl extends GenericServiceImpl<TMiCustomerCompletion,String, TMiCustomerCompletionExample> implements CustomerCompletionService {

    @Resource
    private TMiCustomerCompletionMapper mapper;

    @Override
    public GenericDao<TMiCustomerCompletion, String, TMiCustomerCompletionExample> getDao() {
        return mapper;
    }
}
